home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer (Italian) 30 / PC Gamer IT CD 30 1-2.iso / MOTS / GAMEDATA / RESOURCE / JKMRES.GOO / misc_ai_st_punch.ai < prev    next >
Encoding:
Text File  |  1998-02-25  |  4.1 KB  |  157 lines

  1. # Jedi Knight MOTHS AI File
  2. #
  3. # st_punch.AI
  4. #
  5. # StormTrooper punch AI for when gets weapon pulled
  6. # Medium difficulty
  7. # Sentry
  8. #
  9. # [SRS]
  10. #
  11. # (C) 1997 LucasArts Entertainment Co. All Rights Reserved
  12.  
  13. alignment=-1.0, rank=0.5, fov=170, maxstep=0.2, sightdist=5.0, heardist=2.0, accuracy=0.20
  14.  
  15. #instinct            args
  16. #BlindFire           1500.0, 0.50, 0, 0.8, 0.0, 0.20
  17. #p0 - Fire Rate in (msec)
  18. #p1 - Fire % 0 never 1 allways
  19. #p2 - Weapon 0 - primary 1 - secondary
  20. #p3 - MinDot Max shoot angle
  21. #p4 - MinDist Don't shoot closer than this
  22. #p5 - ShotError % 0 to 1
  23.  
  24. CircleStrafe    6000.0, 30.0, 1.5, 1000.0, 1.0
  25. #p0 - Freq of Straf Check (msec)
  26. #p1 - %Yaw change on move (30-45 typical)
  27. #p2 - Max Dist to attempt Strafe
  28. #p3 - Update interval (typically 1000msec)
  29. #p4 - 0 single dir strafe, 1 random strafe
  30.  
  31. #Crouch
  32. #p0 - How long to stand between crouches
  33.  
  34. #Flee
  35. #p0 - Distance considered to be out of danger
  36. #p1 - Interval to check for new flee dir
  37. #p2 - Duration of flee in seconds (10s is default)
  38.  
  39. Follow            0.0, 0.1
  40. #p0 - Min Distance to allow
  41. #p1 - Max Dist to allow
  42. #p2 - Max Melee dist (rifle/punch combo)
  43. #p3 - Set to 1 to disable LOS checking (enemy doesn't need to see)
  44.  
  45. #ForcePowers
  46. #p0 - Interval for Force power check
  47. #p1 - Min Dist for FP1
  48. #p2 - Max Dist for FP1
  49. #p3 - Min Dist for FP2
  50. #p4 - Max Dist for FP2
  51. #p5 - Min Dist for FP3
  52. #p6 - Max Dist for FP3
  53. #p7 - % Interval for FP1
  54. #p8 - % Interval for FP2
  55. #p9 - % Interval for FP3
  56. #p10 - recharge time for FP1 (msec)
  57. #p11 - recharge time for FP2 (msec)
  58. #p12 - recharge time for FP3 (msec)
  59.  
  60. #HitAndRun
  61. #p0 - Time after Attack till flee (msec)
  62. #p1 - Time till reengaging (msec)
  63.  
  64. Jump                1000.0, 4.0, 4.0
  65. #p0 - Time between jump checks
  66. #p1 - Max jump height (Ai Thinks not Actual)
  67. #p2 - Max jump dist (Ai Thinks not Actual)
  68.  
  69. Listen            0.75, 2.0
  70. #p0 - Investigate % (0 never, 1 always)
  71. #p1 - Distance to move from danger?
  72.  
  73. #LobFire
  74. #p0 - Fire Rate (msec)
  75. #p1 - Min Dot
  76. #p2 - Min Dist (don't fire if closer)
  77. #p3 - Max Dist (don't fire if further)
  78. #p4 - % Error in aim
  79. #p5 - % use secondary (0 always primary, 1 always second)
  80.  
  81. LookForTarget    500.0, 10000.0
  82. #p0 - interval look (msec)
  83. #p1 - Time to sleep before check again (msec)
  84.  
  85. OpenDoors
  86.  
  87. PrimaryFire         1500.0, 0.8, 0.2, 0.10, 0.0, 300.0, 0.60, 1.0, 1.0, 500
  88. #p0 - Ave Time between shots (msec)
  89. #p1 - Min Fire dot (1.0 - facing, 0 - 180deg, -1.0 360deg)
  90. #p2 - Max Dist (wont fire if further)
  91. #p3 - Error (Error in aim 0-1)
  92. #p4 - Min Dist (Wont fire if closer)
  93. #p5 - Ready Time (between wake & first shot in msec)
  94. #p6 - Lead % (0 -1)
  95. #p7 - Use Secondary % (1.0 always)
  96. #p8 - Burst Count (#-1, 0 never)
  97. #p9 - Burst Interval (time between shots, msec)
  98.  
  99. #RandomTurn        10000 1.0
  100. #p0 - interval for turn (msec)
  101. #p1 - min dist to see for valid (ave 1 or 2)
  102.  
  103. ReturnHome
  104.  
  105. #Retreat
  106. #p0 - Health % (below could flee)
  107. #p1 - %moral fail (will flee)
  108. #p2 - time moral checks (msec)
  109. #p3 - maximum number of times we will retreat before not retreating anymore
  110.  
  111. Roam              10000 5.0
  112. #p0 - How often pick new roam
  113. #p1 - Radius to roam from home
  114.  
  115. #SaberFighting    0.40, 0.225, 45.0, 900.0, 0.25, 25.0, 1100.0
  116. #p0 - Strike% 0 never 1 continuous
  117. #p1 - Att1 Range
  118. #p2 - Att1 Damage
  119. #p3 - Att1 Duration
  120. #p4 - Att2 Range
  121. #p5 - Att2 Damage
  122. #p6 - Att2 Duration
  123. #p7 - Att3 Range
  124. #p8 - Att3 Damage
  125. #p9 - Att3 Duration
  126. #p10 - Att4 Range
  127. #p11 - Att4 Damage
  128. #p12 - Att4 Duration
  129.  
  130. #SenseDanger
  131. #p0 - min to trigger (0 always)
  132. #p1 - on sight (nonzero flee if see player)
  133.  
  134. Talk                10000.0, 0.10
  135. #p0 - interval between voice (msec)
  136. #p1 - %chance of say (0 never, 1 always)
  137.  
  138. #TurretFire
  139. #p0 - fire rate (msec)
  140. #p1 - turn rate (pitch & yaw, anlges/sec )
  141. #p2 - Yaw range (0 - 180)
  142. #p3 - Pitch Range (0 - 180)
  143. #p4 - Max Dist
  144. #p5 - Heath min % to cause berzerk
  145. #p6 - Fire Rate in Berzerk (msec)
  146. #p7 - Time from Berzerk till death (msec)
  147. #p8 - %lead chance (0 never, 1 always)
  148.  
  149. #Withdraw
  150. #p0 - interval to check for new dir (typical 5000, msec)
  151. #p1 - Distance considered as withdrew 
  152.  
  153. Dodge               0.2, 0.1
  154. #p0 - how far to get from projectile
  155. #p1 - scale factor for how much to move
  156.  
  157.